package org.csy.generic.test00.demo05;

/**
 * @author CSY
 * @date 2025 - 03 - 26
 */
public class Animal {
    private String type;

    public Animal(){}

    public Animal(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    void sleep(){
        System.out.println("Animal.sleep");
    }
}
